package com.cn.forum.service;

import java.util.List;

import com.cn.forum.model.Article;

public interface ArticleService {

	public void add(Article article);
	public List<Article> getAllArticle();
	public List<Article> getPageArticle(int pageNum,int pageSize);
	public List<Article> getChildrenArticle(List<Article> articleList);
	public Integer getMainArticleNum();
	public List<Article> getPageMyArticle(String myName,Integer pageNum,Integer pageSize);
	public Integer getMyArticleNum(String userName);
	public void change(Article article);
}
